package com.atguigu.springcloud.service;

import com.atguigu.springcloud.entities.Employee;
import com.atguigu.springcloud.page.SimplePage;
import com.atguigu.springcloud.request.EmployeePageRequest;
import com.atguigu.springcloud.request.SaveEmployeeRequest;

/**
 * Created by luojie on 2018/9/7.
 */
public interface EmployeeService {

    Employee save(SaveEmployeeRequest saveEmployeeRequest);

    SimplePage<Employee> appPage(EmployeePageRequest pageRequest);

    Employee findById(String id);

    Employee save(Employee employee);
}
